package com.thon.entity.system;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.thon.entity.util.IdEntity;

@Entity
@Table(name="Event")
@JsonIgnoreProperties(ignoreUnknown=true)
public class Event extends IdEntity{
	/**
	 * @author 张先吉
	 * @mail 
	 * @date 2013-11-15 上午10:31
	 * @deprecated
	 * 
	 */
	private static final long serialVersionUID = 1829990529299631586L;
	private String name;
	private String details;
	public Event() {}
	
	@NotBlank
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@NotBlank
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	
	
}
